package com.wst.business.service;

import com.wst.business.entity.SubTitle;
import com.wst.business.entity.vo.SubTitleVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.system.config.exception.GlobalExcetion;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wst.system.server.entity.vo.PageSearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2025-03-21
 */
public interface SubTitleService extends IService<SubTitle> {


    public SubTitle saveSubTitle(SubTitle subtitle) throws GlobalExcetion;

    public SubTitle updateSubTitleById(SubTitle subtitle) throws GlobalExcetion;

    public SubTitle saveOrUpdateSubTitle(SubTitleVo subtitleVo) throws GlobalExcetion;

    public IPage<SubTitle> page(PageSearchVo vo) throws GlobalExcetion  ;


}